package com.example.demo99.Service;

import java.math.BigDecimal;

public interface PointService {

    /**
     * 用户下单后赠送积分
     * @param userId 用户 ID
     * @param orderId 订单 ID
     * @param orderTotal 订单金额
     */
    void addPointsAfterOrder(Integer userId, Integer orderId, BigDecimal orderTotal);
}
